package com.github.chirspan.xaas.rbac.service;

import com.github.chirspan.xaas.rbac.model.RbacResource;

import java.util.List;
import java.util.Set;

/**
 * *******description*******
 * <p>
 * *************************
 *
 * @author chenpan
 * @date 2020/6/11 13:39
 */
public interface IResourceService {

    Set<String> getStringPermissions(String username);

    List<RbacResource> findResourcesTree(RbacResource example);

    List<RbacResource> findUserSysResources(String username, List<String> appIds);
}
